package com.mtao;

import com.alibaba.dashscope.exception.NoApiKeyException;
import com.mtao.dto.DashscopeDto;
import org.springframework.web.multipart.MultipartFile;

public interface FileUploadService {
//    DashscopeDto dashscopeDto

    String upload(MultipartFile file) throws Exception;

    /**
     * Ai 图像生成
     * @param dashscopeDto
     * @return
     */
    String createImg(DashscopeDto dashscopeDto) throws NoApiKeyException;
}
